package Code.ExtendDemo.Test2;

public class SharPei extends Dog{
    public SharPei() {
    }

    public SharPei(String name) {
        super(name);
    }

    @Override
    public void eat() {
        super.eat();
        System.out.println(super.getName()+"吃骨头");
    }
}
